package com.project.class4_12.lambda;

public class ThreadLambda {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("执行线程");
            }
        }).start();



        new Thread(
                () -> System.out.println("这个用Lambda表达式")
        ).start();

    }
}
